﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateCompany.aspx.cs" Inherits="Main_Admin_CreateCompany" %>
<%@ Register Src="~/User Controls/PageHeading.ascx" TagName="heading" TagPrefix="acc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Create Company</title>
    <link href="../../Styles/accounts.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="width:100%; height:6%;">
               <div style="background-image:url('../../Images/top1.jpg'); background-repeat:repeat-x; height:43px; vertical-align:top; width:100%; ">
                    <span style="padding-left:20px; height:40px; width:171px; float:left;">
                        <img src="../../Images/logo.jpg" style="height:40px; padding-top:3px; width:171px;"  />    </span>
                    <div style="float:right; margin-top:5px;  width:80px;">            
                        <asp:HyperLink ID="HypHome" runat="server" ImageUrl="../../Images/login/home1.png" NavigateUrl="~/Welcome.aspx" Target="contentframe" style="float:left;"></asp:HyperLink>&nbsp;&nbsp;
                        <asp:HyperLink ID="hypImg" runat="server" ImageUrl="../../Images/login/logout1.png" NavigateUrl="~/AdminLogin.aspx" Target="_parent" ></asp:HyperLink>
                    </div>
                    <div style="clear:both"  ></div>
               </div>   
         </div>
     <div style="width:100%; height:87%;">
      <div style="width:100%; margin-left:2%; margin-top:20px; margin-bottom:20px;">
         <acc:heading ID="header1" runat="server" HeadingText="Create Company " />
      </div>
      <div align="center">  <asp:Label ID="LblMsg" runat="server" CssClass="false" EnableViewState="false"></asp:Label></div>
    <table class="tablecontent" style="margin:2%; width:60%; height:30%; margin-left:20%; margin-right:20%;">   
        <tr>
            <td colspan="4" class="headtd" style="border-bottom:1px solid black;">Company Basic Details</td>
        </tr>
        
        <tr>
            <td> Company Code <span class="required">*</span></td>
            <td colspan="3"> <asp:TextBox ID="TxtCOmpanyName" runat="server" CssClass="input" ValidationGroup="V"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RFVTxtCOmpany" runat="server" ControlToValidate="TxtCOmpanyName" ValidationGroup="V" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td>Server Name <span class="required">*</span></td>
            <td> <asp:TextBox ID="TxtServerName" runat="server" CssClass="input" ValidationGroup="V"> </asp:TextBox>
            <asp:RequiredFieldValidator ID="RFVTxtServerName" runat="server" ControlToValidate="TxtServerName" ErrorMessage="*" Display="Dynamic" ValidationGroup="V" ></asp:RequiredFieldValidator>
            </td>
            <td> DataBase Name <span class="required">*</span></td>
            <td> <asp:TextBox ID="TxtDatabasename" runat="server" CssClass="input" ValidationGroup="V"> </asp:TextBox>
            <asp:RequiredFieldValidator ID="RFdVTxtDatabasename" runat="server" ControlToValidate="TxtDatabasename" ErrorMessage="*" Display="Dynamic" ValidationGroup="V"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td> User Id <span class="required">*</span></td>
            <td> <asp:TextBox ID="TxtUserId" runat="server" CssClass="input" ValidationGroup="V"> </asp:TextBox>
            <asp:RequiredFieldValidator ID="RFVTxtUserId" runat="server" ControlToValidate="TxtUserId" ErrorMessage="*" ValidationGroup="V" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
            <td> Password <span class="required">*</span></td>
            <td> <asp:TextBox ID="TxtPassword" runat="server" CssClass="input" TextMode="Password" ValidationGroup="V"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RFVTxtPassword" runat="server" ControlToValidate="TxtPassword" ErrorMessage="*" ValidationGroup="V" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td></td>
            <td align="right"> <asp:Button ID="btnSave" Text="Save" CssClass="button" runat="server" ValidationGroup="V"
                    onclick="btnSave_Click" /> &nbsp;&nbsp;
            </td>
            <td align="left">
            <asp:Button ID="btncancel" Text="Cancel" CssClass="button" runat="server" 
                    onclick="btncancel_Click" /></td>
            <td></td>
        </tr>
    </table>
    </div> 
     <div style="width: 100%; height: 4%">
        <div style=" background-image: url('../../Images/login/footer.jpg'); background-repeat: repeat-x;
            width: 100%; height: 47px;">
            <div align="right" style="padding-right: 10px; font-size: 13px; color: White; padding-top: 5px;
                height: 38px; margin-top: 1px;">
                Copyright &copy; Digital Info Solutions Pvt. Ltd.
            </div>
        </div>
    </div>
    </div>
    </form>
</body>
</html>
